diff options
author | Pedro Gimeno <pgimeno@email.fake> | 2016-03-14 14:29:34 +0100 |
---|---|---|
committer | Jeija <norrepli@gmail.com> | 2016-04-02 17:31:40 +0200 |
commit | b487783c239d75338254ae8bc7250ba6141d67a6 (patch) | |
tree | a65c76a3bd155e64e49ff756038039f0a414dd43 /mesecons_lightstone/�Could not read POST from stdin��Could not write POST to stdout��repo.enable-remote-branches=%d�[cgit] Error opening %s: %s (%d)�������[cgit] Error renaming %s to %s: %s (%d)��������<table class= | |
parent | 72e513ecbdf8273c89d8a79b518d9d0fbedb3f90 (diff) |
Disable JIT optimization for user code and allow string.find in plain mode
Disabling LuaJIT for user code enables normal working of debug.sethook() even for loops. The drawback is that that code will run more slowly.
The fourth parameter of string.find indicates whether the second parameter should be interpreted literally (true) or as a pattern (false). Allowing patterns enables DoS attacks, but it's possible to
allow literal matching with little effort, by disallowing the function only if the fourth parameter (plain mode) is not `true`.
Diffstat (limited to 'mesecons_lightstone/�Could not read POST from stdin��Could not write POST to stdout��repo.enable-remote-branches=%d�[cgit] Error opening %s: %s (%d)�������[cgit] Error renaming %s to %s: %s (%d)��������<table class=')
0 files changed, 0 insertions, 0 deletions